<div class = "field-manager-wrap clearfix mb10">
    <div>
        <table class = "ui table" style = "border:none;border-bottom: 1px solid rgba(34,36,38,.1);">
            <tbody>
                <tr style = "height:48px;" ng-show = "dimensionality_shown" class = "fields_for_dimensionality">
                    <td class = "collapsing" style = "width: 90px;">
                        {{dimensionality_name}}:
                    </td>
                    <td class = "tl" style = "text-align: left;">
                        <div class = "field-manager-dimensionality">
                            <field-item ng-repeat = "item in fields.dimensionality track by $index" json = "item" field-type = 'dimensionality' data-index = "{{$index}}"></field-item>
                        </div>
                    </td>
                </tr>
                <!--用于交叉表第二个维度-->
                <tr style = "height:48px;" ng-show = "dimensionality2_shown" class = "fields_for_dimensionality2">
                    <td class = "collapsing" style = "width: 90px;">
                        {{dimensionality2_name}}:
                    </td>
                    <td class = "tl" style = "text-align: left;">
                        <div class = "field-manager-dimensionality2">
                            <field-item ng-repeat = "item in fields.dimensionality2 track by $index" json = "item" field-type = "dimensionality2" data-index = "{{$index}}"></field-item>
                        </div>
                    </td>
                </tr>
                <!--度量-->
                <tr style = "height: 48px;" ng-show = "measurement_shown" class = "fields_for_measurement">
                    <td class = "collapsing" style = "width:90px;">
                        {{measurement_name}}:
                    </td>
                    <td class = "tl" style = "text-align: left;">
                        <div class = "field-manager-measurement">
                            <field-item ng-repeat = "item in fields.measurement track by $index" json = "item" field-type = "measurement" data-index = "{{$index}}"></field-item>
                        </div>
                    </td>
                </tr>
                <!--度量2 目前暂时只用在气泡图-->
                <tr style = "height: 48px;" ng-show = "measurement2_shown" class = "fields_for_measurement2">
                    <td class = "collapsing" style = "width:90px;">
                        {{measurement2_name}}:
                    </td>
                    <td class = "tl" style = "text-align: left;">
                        <div class = "field-manager-measurement2">
                            <field-item ng-repeat = "item in fields.measurement2 track by $index" json = "item" field-type = "measurement2" data-index = "{{$index}}"></field-item>
                        </div>
                    </td>
                </tr>
                <tr style = "height: 48px;" ng-show = 'condition_shown' class = "fields_for_condition">
                    <td class = "collapsing">
                        组件:
                    </td>
                    <td class = "tl" style = "text-align: left;">
                        <div class = "field-manager-condition">
                            <field-item ng-repeat = "item in fields.condition track by $index" json = "item" field-type = "condition" data-index = "{{$index}}"></field-item>
                        </div>
                    </td>
                </tr>
                <!-- 间距 目前只用于直方图 -->
                <tr style = "height: 48px;" ng-show = "distance_shown" class = "fields_for_measurement2">
                    <td class = "collapsing" style = "width:90px;">
                        间距:
                    </td>
                    <td class = "tl" style = "text-align: left;">
                        <div class="ui input">
                            <input style="width:400px;" ng-model="distance" class="ng-pristine ng-untouched ng-valid ng-not-empty" type="number" min='0' placeholder='请输入间距值，间距必须是大于0的数字' >
                            <button class="red button ui" ng-click="setdistance(distance)">确定</button>
                            <button class="default button ui" ng-click="shown = false">取消</button>
                        </div>
                        <!-- <div class = "field-manager-distance">
                            <input type="number" min='0' placeholder='请输入间距值，间距必须是大于0的数字' field-type='distance' ng-model='distance' json='distance'/>

                        </div> -->
                    </td>
                </tr>
                <!-- 周期 目前只用于留存率 -->
                <tr style = "height: 48px;" ng-show = "intervalPeriodUnit_shown" class = "fields_for_measurement2">
                    <td class = "collapsing" style = "width:90px;">
                        周期:
                    </td>
                    <td class = "tl" style = "text-align: left;">
                        <div class = "ui selection dropdown categoryList fl" style = "width:300px;padding:.28571429em 2.6em .28571429em 1em;line-height: 1.5em;z-index:12">
                            <input type = "hidden" name = "gender">
                            <i class = "dropdown icon"></i>
                            <div class = "default text">{{fields.intervalPeriodUnit.name}}</div>
                            <div class = "menu">
                                <div class = "item" data-value = "day" ng-click = "swithIntervalPeriodUnit('day','日')">日</div>
                                <div class = "item" data-value = "month" ng-click = "swithIntervalPeriodUnit('month','月')">月</div>
                                <div class = "item" data-value = "year" ng-click = "swithIntervalPeriodUnit('year','年')">年</div>
                            </div>
                        </div>
                        
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>